package com.screen.screendisplay.entity.greenfp;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 绿电足迹销售信息表
 * </p>
 *
 * @author xuesong
 * @since 2025-08-23
 */
@Getter
@Setter
@TableName("qt_dp_greenfp_sales_value")
@ApiModel(value = "GreenfpSalesValue对象", description = "绿电足迹销售信息表")
public class GreenfpSalesValue implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "年份")
    @TableField("year")
    private Integer year;

    @ApiModelProperty(value = "月份")
    @TableField("month")
    private Integer month;

    @ApiModelProperty(value = "日")
    @TableField("day")
    private Integer day;

    @ApiModelProperty(value = "日期，格式yyyy-MM-dd")
    @TableField("date")
    private Date date;

    @ApiModelProperty(value = "供电量(万千瓦时)")
    @TableField("power_supply")
    private BigDecimal powerSupply;

    @ApiModelProperty(value = "长期运行天数(天)")
    @TableField("continuous_days")
    private Integer continuousDays;

    @ApiModelProperty(value = "机组停运占比(%)")
    @TableField("outage_ratio")
    private BigDecimal outageRatio;

    @ApiModelProperty(value = "售电占比(%)")
    @TableField("sales_ratio")
    private BigDecimal salesRatio;

    @ApiModelProperty(value = "清洁能源消费占比(%)")
    @TableField("clean_energy_ratio")
    private BigDecimal cleanEnergyRatio;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("creator")
    private String creator;

    @ApiModelProperty(value = "更新时间")
    @TableField("update_time")
    private Date updateTime;

    @ApiModelProperty(value = "更新人")
    @TableField("updater")
    private String updater;
}
